package code14JDBC.练习;

/**
 * @author 黄衡熙
 * @version 1.0
 */
public class Student {
    private Integer id;
    private Integer no;
    private String name;
    private Integer age;
    private Integer class_id;
    private Class c;

    public Class getC() {
        return c;
    }

    public void setC(Class c) {
        this.c = c;
    }

    public Student() {
    }

    public Student(Integer no, String name, Integer age, Integer class_id) {
        this.no = no;
        this.name = name;
        this.age = age;
        this.class_id = class_id;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", no=" + no +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", c=" + c +
                '}';
    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNo() {
        return no;
    }

    public void setNo(Integer no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getClass_id() {
        return class_id;
    }

    public void setClass_id(Integer class_id) {
        this.class_id = class_id;
    }
}
